package com.wxservice.application;

import com.wxservice.util.ErrorUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = {"com.wxservice.*"})
/*@MapperScan("com.wxservice.dao")*/
public class WxserviceApplication {

    public static void main(String[] args) {
        SpringApplication.run(WxserviceApplication.class, args);
        ErrorUtil load=new ErrorUtil();
    }
}
